package com.lixin.juc.singleinstance;

// 懒汉式
public enum Single {

    INSTANCE;

    public Single getInstance() {
        return INSTANCE;
    }

    public String say() {
        return "ok";
    }

}
